package DesignPatterns.CombinationMode;

public class Dish extends Component{


    @Override
    public void show() {
        System.out.printf(this.Name+this.Des);
    }

    public Dish(String name, String des) {
        super(name,des);
    }

    @Override
    public String toString() {
        return "Dish{" +
                "Name='" + Name + '\'' +
                ", Des='" + Des + '\'' +
                '}';
    }
}
